<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%--<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">--%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.css">
<style>
 	div{
 		text-align: center;
	}
</style>
<script type="text/javascript" src="bootstrap/js/jquery-3.2.1.js"></script>
<script type="text/javascript" src="bootstrap/js/bootstrap.js"></script>
</head>
<body>
	<div>
		<h2>登录</h2>
		<form class="form-horizontal" action="${pageContext.request.contextPath}/userServlet?flag=login" method="post">
			 <div class="form-group">
			    <label for="account" class="col-md-offset-4 col-md-1 control-label">账号:</label>
			    <div class="col-md-3">
			      <input type="text" class="form-control" name="account" placeholder="账号">
			    </div>
	  		</div>
			 <div class="form-group">
			    <label for="pwd" class="col-md-offset-4 col-md-1 control-label">密码:</label>
			    <div class="col-md-3">
			      <input type="password" class="form-control" name="pwd" placeholder="密码">
			    </div>
	  		</div>
	  		<div class="form-group">
			    <div class="col-md-offset-5 col-md-1">
			      <button type="submit" class="btn btn-default">登录</button>
			    </div>
	  		</div>
		</form>
		${msg }
		如果没有账号,<a href="register.jsp">请注册</a>
	</div>
</body>
</html>